<div class="page_title">
    <span class="title_icon"><span class="coverflow"></span></span>
    <h3>Pacientes</h3>    
</div>
<div id="content">
    <div class="grid_container">
        <div class="grid_12">
            <div class="widget_wrap">
                <div class="widget_top">
                    <span class="h_icon list"></span>
                    <h6>baja de paciente del sistema</h6>
                </div>
                <div class="widget_content">
                    <!--                        <form action="#" method="post" id="regitstraion_form" class="form_container left_label">-->
                    <?php echo $this->Form->create('Paciente', array('id' => 'regitstraion_form', 'class' => 'form_container left_label')); ?>
                    <ul>                      

                        
                        <li>
                            <div class="form_grid_12">
                                <label class="field_title">cambio de estado</label>
                                <div class="form_input">  
                                    <select data-placeholder="Seleccione la alerta..." class="chzn-select full" name="data[Paciente][paciente_id]" tabindex="4" id="cb_dpto">
                                        <option value=""></option>
                                        <?php foreach ($pacientes as $a): ?>
                                            <?php if ($this->request->data['Paciente']['id'] == $a['Paciente']['id']): ?>
                                                <option value="<?php echo $a['Paciente']['id'] ?>" selected="selected">
                                                    <?php echo $a['Paciente']['estado'] ?>
                                                </option>
                                            <?php else: ?>

                                                <option value="<?php echo $a['Paciente']['id'] ?>">
                                                    <?php echo $a['Paciente']['estado'] ?>
                                                </option>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    </select>
                                    
                                </div>
                            </div>
                        </li>

                        <li>
                            <div class="form_grid_12">
                                <div class="form_input">
                                    <button type="submit" class="btn_small btn_blue"><span>Cambiar estado</span></button>                               
                                </div>
                            </div>
                        </li>                       
                    </ul>
                    <!--</form>/-->
                </div>
            </div>
        </div>           
    </div>
    <span class="clear"></span>
</div>
